<%@ Control Language="C#" AutoEventWireup="true" CodeFile="usrOccupation.ascx.cs" Inherits="controls_usrOccupation" %>
<asp:DropDownList ID="ddlOccupation" runat="server" ToolTip="Choose Occupation">
    <asp:ListItem Selected="True" Value="-1" Text="<%$ Resources:CarInsurance,Select%>" />
</asp:DropDownList>
<asp:RequiredFieldValidator CssClass="validationErrorControl" ID="rfvOccupation" runat="server" 
    ErrorMessage="" ControlToValidate="ddlOccupation" 
    InitialValue="-1" Text=""></asp:RequiredFieldValidator>


<script type="text/javascript">
<!--
//function ClientValidate(source, arguments)
//   {
//        if (arguments.Value == -1 ){
//            arguments.IsValid = false;
//        } else {
//            arguments.IsValid = true;
//        }
//   }
    //-->
</script>

